package org.maitaole.service.impl;

import org.maitaole.entity.LoginHistory;
import org.maitaole.mapper.LoginHistoryMapper;
import org.maitaole.service.ILoginHistoryService;

public class LoginHistoryServiceImpl implements ILoginHistoryService {

    private LoginHistoryMapper historyMapper;

    public LoginHistoryMapper getHistoryMapper() {
        return historyMapper;
    }

    public void setHistoryMapper(LoginHistoryMapper historyMapper) {
        this.historyMapper = historyMapper;
    }

    @Override
    public void saveLoginHistory(LoginHistory loginHistory) {
        historyMapper.insert(loginHistory);
    }
}
